home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 July / macformat-026.iso / mac / Interactive Arts / Interactive Arts '95 / martin / 00142.ls < prev    next >
Encoding:
Text File  |  1995-05-02  |  517 b   |  27 lines

  1. on startMovie
  2.   global WhereWeAre, TheStory
  3.   when mouseDown then nothing
  4.   when mouseUp then nothing
  5. end
  6.  
  7. on DoStoryTell
  8.   global WhereWeAre, TheStory
  9.   set WhereWeAre to the frame
  10.   if WhereWeAre < 40 then
  11.     set TheStory to "Story1"
  12.   end if
  13.   if (WhereWeAre > 40) and (WhereWeAre < 70) then
  14.     set TheStory to "Story2"
  15.   end if
  16.   if (WhereWeAre > 70) and (WhereWeAre < 100) then
  17.     set TheStory to "Story3"
  18.   end if
  19.   if WhereWeAre > 100 then
  20.     set TheStory to "Story4"
  21.   end if
  22. end
  23.  
  24. on idle
  25.   nothing()
  26. end
  27.